<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>天天互保-天天爱分享</title>
<meta name="keywords" content="天天互保"> 
<meta name="description" content="天天互保"> 
<meta content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport">
<script src="__JS__/jquery.min.js"></script>
<link rel="stylesheet" href="__CSS__/style.css">
<link rel="stylesheet" href="__CSS__/index.css">
<link rel="stylesheet" href="__CSS__/admin.css">
<link rel="stylesheet" href="__CSS__/member.css">
<link rel="stylesheet" href="__CSS__/activitys.css">
<script type="text/javascript" src="__JS__/jquery.js"></script>
</head>
<script language="javascript">
	function get_mobile_code(){
        $.post('/Member/sms', {mobile:jQuery.trim($('#mobile').val()),send_code:<?php echo $_SESSION['send_code'];?>}, function(msg) {
            alert(jQuery.trim(unescape(msg)));
			if(msg=='提交成功'){
				RemainTime();
			}
        });
	};
	var iTime = 59;
	var Account;
	function RemainTime(){
		document.getElementById('zphone').disabled = true;
		var iSecond,sSecond="",sTime="";
		if (iTime >= 0){
			iSecond = parseInt(iTime%60);
			iMinute = parseInt(iTime/60)
			if (iSecond >= 0){
				if(iMinute>0){
					sSecond = iMinute + "分" + iSecond + "秒";
				}else{
					sSecond = iSecond + "秒";
				}
			}
			sTime=sSecond;
			if(iTime==0){
				clearTimeout(Account);
				sTime='获取手机验证码';
				iTime = 59;
				document.getElementById('zphone').disabled = false;
			}else{
				Account = setTimeout("RemainTime()",1000);
				iTime=iTime-1;
			}
		}else{
			sTime='没有倒计时';
		}
		document.getElementById('zphone').value = sTime;
	}	
</script>

<body style="background:#d51c36;">
<img src="__IMG__/hongbao/hbao1.jpg" alt="红包banner" class="hbaobanner"/>
<img src="__IMG__/hongbao/hbao2.jpg" alt="红包banner" class="hbaobanner"/>
<div class="main">
	<div class="liucheng">
		<img src="__IMG__/hongbao/hbao3.png" alt="liucheng"/>
		<p>
			<a href="javascript:void(0);">开通会员</a>
			<img src="__IMG__/hongbao/hbao_jt.png"/>
			<a href="javascript:void(0);">分享链接</a>
			<img src="__IMG__/hongbao/hbao_jt.png"/>
			<a href="javascript:void(0);">符合规则</a>
			<img src="__IMG__/hongbao/hbao_jt.png"/>
			<a href="javascript:void(0);">奖金到账</a>
		</p>
	</div>
	<div class="forms">
		<form action="__URL__/info" method="post" name="formUser">
			<p class="mytype posi">
			   <input type="hidden" name="yid" value="{$yaoqing}">
				<input type="number" id="mobile"  name="mobile" placeholder="请输入手机号" class="hdinput font12 hbw1" onblur="checkMobile()" required/>
				<span id="checkMobile"> </span>
			</p>

			<p class="mytype">
			<input type="text" name="mobile_code" placeholder="请输入验证码" required class="hdinput font12 hbw2"/>
			<input id="zphone" class="font12 fs" type="button" value=" 获取手机验证码 " onclick="get_mobile_code();"></td>
			   <!-- <button >发送验证码</button></p> -->
			<p>
			<input type="submit" value="立即注册" class="hbsubmit font14"/></p>
		</form>
	</div>



<!-- <form action="/Member/sms/H/k" method="post" name="formUser">
	<table width="100%"  border="0" align="left" cellpadding="5" cellspacing="3">
		<tr>
			<td align="right">手机<td>
		<input id="mobile" name="mobile" type="text" size="25" class="inputBg" /><span style="color:#FF0000"> *</span> 
        <input id="zphone" type="button" value=" 获取手机验证码 " onClick="get_mobile_code();"></td>
        </tr>
		<tr>
			<td align="right">验证码</td>
			<td><input type="text" size="8" name="mobile_code" class="inputBg" /></td>
		</tr>
		<tr>
			<td align="right"></td>
			<td><input type="submit" value=" 注册 " class="button"></td>
		</tr>
	</table> -->








	<img src="__IMG__/hongbao/hbao5.png" class="hbtitle"/>
	<div class="guize font12">
		<p><span class="guizett">(1)</span><span class="guizett1">开通会员后,会员本人可免费加入部分互保计划，免费加入不定期推出的精彩活动计划。<span/></p>
		<p><span class="guizett">(2)</span><span class="guizett1">注册后开通会员，将此页面发送给好友或分享到朋友圈,邀请好友注册并开通会员，即可得丰厚奖金。<span/></p>
		<p><span class="guizett">(3)</span><span class="guizett1">一级好友奖金20%，二级好友奖金10%，三级好友奖金5%。<span/></p>
	</div>
	<img src="__IMG__/hongbao/hbao4.jpg"/>
	<img src="__IMG__/hongbao/hbao6.png" class="hbtitle1"/>
	<img src="__IMG__/hongbao/hbao7.jpg" class="saoyis"/>
	<p class="abouttt font14">- 天天互保 -</p>
</div>
<script>
function checkMobile(){
	var m=$.trim($('.hbw1').val());
	//alert(m);
	if(!m){
		$("#checkMobile").html("请输入手机号码");
	}else if(!/^[1][34578][0-9]{9}$/.test(m)){
		$("#checkMobile").html("手机号码格式错误");
	}
}
</script>

</body>
</html>